import javax.swing.JFrame;
import javax.swing.SwingUtilities;

import painting.GUI;
import painting.Painter;

public class Main {
	public static void main(String[] args) {
		JFrame f = new JFrame("RobotDetection");
		f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		Painter painter = new Painter(f);
		f.add(new Painter(f));
		f.setSize(100, 100);
		f.setVisible(true);
		//DetecterRobot dr = new DetecterRobot(painter);
		//dr.start();
		GUI map = new GUI();
		MappingRobot mr = new MappingRobot(painter,map);
		mr.start();
		
		
		
		
		
	}
}
